/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package praktikum_1.percobaan_1;

/**
 *
 * @author Liem
 */
public class kode2 {
    public static void main (String []args){
/*  YANG SALAH
    
    kode1 a;
    kode1 b;
    
   a.a=1;
   a.b=0;
   b.a=8;
   b.b=4;
      
     
*/
    kode1 a = new kode1(0);
    kode1 b = new kode1(4);
    
   a.a = 1;
   a.b=0;
   b.a = 8;
   b.b=4;
   
   System.out.println("a.a = " + a.a);
   System.out.println("a.b = " + a.b);
   System.out.println("b.a = " + b.a);
   System.out.println("b.b = " + b.b);
   System.out.println("kode1.a = " + kode1.a);
   
   }
}
